package com.fishery.authority.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author hy
 * @since 2021-01-15
 */
@ApiModel(value="AuthorityUser对象", description="")
public class UserVo {

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "验证码")
    private Integer code;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", code='" + code + '\'' +
                '}';
    }

    public UserVo() {
    }

    public UserVo(String phone, String password, Integer code) {
        this.phone = phone;
        this.password = password;
        this.code = code;
    }
}
